﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.RemoteCtrls
{
    [Serializable]
    public class BreakpointInfo
    {
        public BreakpointInfo()
        {

        }

        public BreakpointInfo(string id, string name, string type, EBreakpointType breakpointType, string refId = "")
        {
            ActivityId = id;
            ActivityType = type;
            ActivityName = name;
            BreakpointType = breakpointType;
            RefId = refId;
        }
        public BreakpointInfo(string id, string name, string type, EBreakpointType breakpointType,string fullName,string refId)
        {
            ActivityId = id;
            ActivityType = type;
            ActivityName = name;
            BreakpointType = breakpointType;
            FullName = fullName;
            RefId = refId;
        }

        public EBreakpointType BreakpointType
        {
            internal set;
            get;
        }

        public string ActivityType
        {
            internal set;
            get;
        }

        public string ActivityId
        {
            internal set;
            get;
        }

        public string ActivityName
        {
            internal set;
            get;
        }
        public string FullName
        {
            internal set;
            get;
        }
        public string RefId
        {
            internal set;
            get;
        }
    }

    [Serializable]
    public enum EBreakpointType
    {
        Enabled = 1,
        Bounded = 2,
    }
}
